package com.imooc.coupon.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 优惠券规则类型枚举定义
 *
 * Created By TINY
 * Create Time 2020/2/12
 **/
@Getter
@AllArgsConstructor
public enum RuleFlag {

    // 单张优惠券规则
    DISCOUNT("折扣券计算"),
    FULL_REDUCTION("满减券计算"),
    REDUCTION("立减券计算"),

    // （多张）组合类优惠券规则
    FULL_REDUCE_DISC("满减 + 折扣券的计算");

    // TODO 更多组合规则

    /** 优惠券结算规则描述 */
    private String description;
}
